package com.baidu.encrypt.config;

import com.baidu.encrypt.handler.DecryptResultInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@MapperScan("com.baidu.encrypt.mapper")
public class MyBatisPlusConfig {

    @Bean
    public DecryptResultInterceptor decryptResultInterceptor() {
        return new DecryptResultInterceptor();
    }
}
